package com.lanou.remember.mapper;

import com.lanou.k12.entity.Record;
import com.lanou.k12.entity.ResultObject;
import com.lanou.k12.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.servlet.http.HttpSession;
import java.util.List;

@Repository
public interface RecordMapper {

    public int remind(@Param("uid") int uid);

    public int findUser(@Param("uid") int uid);

    public List<Record> findRecord(@Param("uid") int uid);

    public int addRecord(@Param("r") Record record);

    public int updateRecord(@Param("r") Record record);

}
